const app = getApp();
Page({
    data: {
    },
    onLoad: function(t) {
      var that =this
      var a = that.data.tabInfo
      app.ihttpGet('https://www.58zltc.com/api.php/Commission/getWithdrawList/openid/' + app.globalData.openid, function (res) {
        wx.hideLoading()
        that.setData({
          list: res.data.list,
        })
      })
    },
    backto: function (e) {
      wx.navigateBack({})
    },
    changeTab: function (e) {
      this.setData({
        tabIdx: e.currentTarget.dataset.num
      })
    },
    changeMenu: function (e) {
      this.setData({
        menuIdx: e.currentTarget.dataset.num
      })
    }
});